package com.example.manage.client;

import com.example.api.pay.PayOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 86188
 */
@FeignClient(name = "pay-server")
public interface PayClient {

    /**
     * 创建支付订单
     *
     * @return
     */
    @RequestMapping(value = "/pay/createPayOrder", method = RequestMethod.POST)
    PayOrder createPayOrder();
}
